<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="com.usernet.product.entity.Admin"%>
<%@page import="com.usernet.product.tools.AdminRight"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%
	Admin admin = (Admin)session.getAttribute("admin");
%>
<base href="<bean:message key="base"/>">
<!-- 默认左边菜单 -->
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

.STYLE1 {
	font-size: 12px;
	color: #FFFFFF;
}

.STYLE3 {
	font-size: 12px;
	color: #033d61;
}

#loading-mask {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 20000;
	background-color: white;
}

#loading {
	position: absolute;
	left: 0%;
	padding: 2px;
	z-index: 20001;
	height: auto;
}

#loading .loading-indicator {
	background: white;
	color: #444;
	font: bold 14px tahoma, arial, helvetica;
	padding: 10px;
	margin: 0;
	height: auto;
}

#loading-msg {
	font: normal 14px arial, tahoma, sans-serif;
}
-->
</style>
<style type="text/css">
.menu_title SPAN {
	FONT-WEIGHT: bold;
	LEFT: 3px;
	COLOR: #ffffff;
	POSITION: relative;
	TOP: 2px
}

.menu_title2 SPAN {
	FONT-WEIGHT: bold;
	LEFT: 3px;
	COLOR: #FFCC00;
	POSITION: relative;
	TOP: 2px
}
</style>
<jsp:include page="../inc/header.jsp"></jsp:include>
<script type="text/javascript">
			function toWork(param){
				var homeFrame;
		        if (document.all){//IE
		        	  homeFrame = parent.document.frames["homeFrame"]; 
		        	  homeFrame.document.write("<center><img src=\"<bean:message key="base"/>resources/images/loadding.gif\" /></center>");
		        	  homeFrame.document.close();
		        }else{//Firefox    
		        	  homeFrame = parent.document.getElementById("homeFrame").contentDocument;
		        	  homeFrame.write("<center><img src=\"<bean:message key="base"/>resources/images/loadding.gif\" /></center>");
		        	  homeFrame.close();
				}
		        homeFrame.location=param;
			}
		</script>

<table width="165" height="100%" border="0" cellpadding="0"
	cellspacing="0">
	<tr>
		<td height="28" background="resources/images/index/main_40.gif">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="19%">
						&nbsp;
					</td>
					<td width="81%" height="20">
						<span class="STYLE1">管理菜单</span>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td valign="top">
			<table width="151" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="23" background="resources/images/index/main_47.gif"
									id="imgmenu1" class="menu_title"
									onMouseOver="this.className='menu_title2';"
									onClick="showsubmenu(1)"
									onMouseOut="this.className='menu_title';" style="cursor: hand">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="18%">
												&nbsp;
											</td>
											<td width="82%" class="STYLE1">
												软件管理
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td background="resources/images/index/main_51.gif"
									id="submenu1">
									<div class="sec_menu">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<%if(admin.getFlag()==AdminRight.admin || admin.getFlag()==AdminRight.supers || admin.getFlag()==AdminRight.update){ %>
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>software.do?method=toList');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">软件信息管理</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>type.do?method=toList');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">分类信息管理</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>resource.do?method=toList');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">专题信息管理</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<%} %>
											<%if(admin.getFlag()==AdminRight.supers){ %>
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>comment.do?method=toList');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">评论信息管理</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<%} %>
											<%if(admin.getFlag()==AdminRight.supers){ %>
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>error.do?method=toList');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">错误信息管理</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<%} %>
											<tr>
												<td height="5">
													<img src="resources/images/index/main_52.gif" width="151"
														height="5" />
												</td>
											</tr>
										</table>
									</div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="23" background="resources/images/index/main_47.gif"
									id="imgmenu2" class="menu_title"
									onMouseOver="this.className='menu_title2';"
									onClick="showsubmenu(2)"
									onMouseOut="this.className='menu_title';" style="cursor: hand">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="18%">
												&nbsp;
											</td>
											<td width="82%" class="STYLE1">
												用户管理
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td background="resources/images/index/main_51.gif"
									id="submenu2">
									<div class="sec_menu">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<%if(admin.getFlag()==AdminRight.admin || admin.getFlag()==AdminRight.supers){ %>
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>user.do?method=toList');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">用户信息管理</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<%} %>
											<tr>
												<td height="5">
													<img src="resources/images/index/main_52.gif" width="151"
														height="5" />
												</td>
											</tr>
										</table>
									</div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="23" background="resources/images/index/main_47.gif"
									id="imgmenu3" class="menu_title"
									onMouseOver="this.className='menu_title3';"
									onClick="showsubmenu(3)"
									onMouseOut="this.className='menu_title';" style="cursor: hand">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="18%">
												&nbsp;
											</td>
											<td width="82%" class="STYLE1">
												日志管理
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td background="resources/images/index/main_51.gif"
									id="submenu3">
									<div class="sec_menu">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<%if(admin.getFlag()==AdminRight.supers){ %>
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>adminLog.do?method=toList');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">操作日志信息</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<%} %>
											<tr>
												<td height="5">
													<img src="resources/images/index/main_52.gif" width="151"
														height="5" />
												</td>
											</tr>
										</table>
									</div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td height="23" background="resources/images/index/main_47.gif"
									id="imgmenu4" class="menu_title"
									onMouseOver="this.className='menu_title4';"
									onClick="showsubmenu(4)"
									onMouseOut="this.className='menu_title';" style="cursor: hand">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="18%">
												&nbsp;
											</td>
											<td width="82%" class="STYLE1">
												系统管理
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td background="resources/images/index/main_51.gif"
									id="submenu4">
									<div class="sec_menu">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>admin.do?method=toPassword');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">修改密码</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<%if(admin.getFlag()==AdminRight.supers){ %>
											<tr>
												<td>
													<table width="90%" border="0" align="center"
														cellpadding="0" cellspacing="0">
														<tr>
															<td width="16%" height="25">
																<div align="center">
																	<img src="resources/images/index/left.gif" width="10"
																		height="10" />
																</div>
															</td>
															<td width="84%" height="23">
																<table width="95%" border="0" cellspacing="0"
																	cellpadding="0">
																	<tr>
																		<td height="20" style="cursor: hand" onclick="toWork('<bean:message key="base"/>admin.do?method=toList');"
																			onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "
																			onmouseout="this.style.borderStyle='none'">
																			<span class="STYLE3">添加管理员</span>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<%} %>
											<tr>
												<td height="5">
													<img src="resources/images/index/main_52.gif" width="151"
														height="5" />
												</td>
											</tr>
										</table>
									</div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td height="18" background="resources/images/index/main_58.gif">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="18" valign="bottom">
						<div align="center" class="STYLE3">
							购买QQ:<a style="color: blue;" target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=993576472&amp;site=qq&amp;menu=yes">993576472</a>
						</div>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<script>




function showsubmenu(sid)
{
whichEl = eval("submenu" + sid);
imgmenu = eval("imgmenu" + sid);
if (whichEl.style.display == "none")
{
eval("submenu" + sid + ".style.display=\"\";");
imgmenu.background="resources/images/index/main_47.gif";
}
else
{
eval("submenu" + sid + ".style.display=\"none\";");
imgmenu.background="resources/images/index/main_48.gif";
}
}
</script>
<jsp:include page="../inc/footer.jsp"></jsp:include>